package com.igeek.boot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.igeek.boot.entity.Warehouses;
import com.baomidou.mybatisplus.extension.service.IService;
import com.igeek.boot.vo.PageQueryVO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jwj
 * @since 2023-12-26
 */
public interface
IWarehousesService extends IService<Warehouses> {

    Page<Warehouses> findPage(PageQueryVO pageQueryVO);

    List<Warehouses> findAll();

    boolean saveAllLocation();

    boolean add(Warehouses warehouses);

    boolean delWarehouses(Integer id);

    boolean updateWarehouses(Warehouses warehouses);

    Warehouses findOneDetail(Integer id);

    Warehouses findOneById(Integer id);

    String findOneLocation(Integer id);

    List<Map<String, Object>> findAllLocationAndName();
}
